package com.yc.yuehui.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyl
 * @since 2023-03-07
 */
@TableName("yh_photo_show")
@Data
public class YhPhotoShow implements Serializable {

    private YhUser users;

    private YhPhotoRace race;

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String psid;

    private String uid;

    private String image;

    private String votes;

    private String supports;

    private String intime;

    private String url;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getPsid() {
        return psid;
    }

      public void setPsid(String psid) {
          this.psid = psid;
      }
    
    public String getUid() {
        return uid;
    }

      public void setUid(String uid) {
          this.uid = uid;
      }
    
    public String getImage() {
        return image;
    }

      public void setImage(String image) {
          this.image = image;
      }
    
    public String getVotes() {
        return votes;
    }

      public void setVotes(String votes) {
          this.votes = votes;
      }
    
    public String getSupports() {
        return supports;
    }

      public void setSupports(String supports) {
          this.supports = supports;
      }
    
    public String getIntime() {
        return intime;
    }

      public void setIntime(String intime) {
          this.intime = intime;
      }
    
    public String getUrl() {
        return url;
    }

      public void setUrl(String url) {
          this.url = url;
      }

    @Override
    public String toString() {
        return "YhPhotoShow{" +
              "id=" + id +
                  ", psid=" + psid +
                  ", uid=" + uid +
                  ", image=" + image +
                  ", votes=" + votes +
                  ", supports=" + supports +
                  ", intime=" + intime +
                  ", url=" + url +
              "}";
    }
}
